

package com.zdkj.subway.rca.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 报表间数据关联审核
 *
 * @author cooze
 * @date 2020-10-27 23:07:56
 */
@Data
@TableName("sw_ck_report_review")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "报表间数据关联审核")
public class SwCkReportReview extends Model<SwCkReportReview> {
    private static final long serialVersionUID = 1L;

    /**
     * 唯一标识
     */
    @TableId
    @ApiModelProperty(value = "唯一标识")
    private Integer id;
    /**
     * 主报表名称
     */
    @ApiModelProperty(value = "主报表名称")
    private String mainReportName;
    /**
     * 对比主报表名称
     */
    @ApiModelProperty(value = "对比主报表名称")
    private String comparisonMainReportName;
    /**
     * 差异类型 票款差异、其他差异
     */
    @ApiModelProperty(value = "差异类型 票款差异、其他差异")
    private String differenceType;

    /**
     * 差异类型名称
     */
    @ApiModelProperty(value = "差异类型名称", hidden = true)
    @TableField(exist = false)
    private String differenceTypeName;
    /**
     * 差异金额（分）
     */
    @ApiModelProperty(value = "差异金额（分）")
    private BigDecimal differenceAmount;
    /**
     * 记录差异时间
     */
    @ApiModelProperty(value = "记录差异时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate mainReportCreateTime;
    /**
     * 主报表筛选结束时间
     */
    @ApiModelProperty(value = "主报表筛选结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate recordDifferenceTime;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private Integer creatorId;
    /**
     * 创建人名称
     */
    @ApiModelProperty(value = "创建人名称")
    private String creatorName;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;
}
